package com.sumover.DAO;

import com.sumover.POJO.User;
import com.sumover.POJO.UserDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDetailMapper {
    int deleteByPrimaryKey(Integer uid);

    int insert(UserDetail record);

    UserDetail selectByPrimaryKey(Integer uid);

    List<UserDetail> selectAll();

    int updateByPrimaryKey(UserDetail record);

    UserDetail getDetailByUser(@Param("queryUser") User queryUser);
}